.PHONY:all
all:tcpclient tcpserver

tcpclient:TcpClient.cpp
	g++ -o $@ $^ -std=c++11

tcpserver:TcpServer.cpp	
	g++ -o $@ $^ -std=c++11 -lpthread

.PHONY:clean
clean:
	rm -f tcpserver tcpclient